package com.kedou.sdk.params.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

public class RedpackageStatus implements Parcelable {

    /**
     * 支付渠道类型ID
     */
    @SerializedName("status")
    private int status;

    /**
     * 支付渠道主题
     */
    @SerializedName("btn_text")
    private String btn_text;


    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getBtn_text() {
        return btn_text;
    }

    public void setBtn_text(String btn_text) {
        this.btn_text = btn_text;
    }

    public RedpackageStatus() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.status);
        dest.writeString(this.btn_text);
    }

    protected RedpackageStatus(Parcel in) {
        this.status = in.readInt();
        this.btn_text = in.readString();

    }

    public static final Creator<RedpackageStatus> CREATOR = new Creator<RedpackageStatus>() {
        @Override
        public RedpackageStatus createFromParcel(Parcel source) {
            return new RedpackageStatus(source);
        }

        @Override
        public RedpackageStatus[] newArray(int size) {
            return new RedpackageStatus[size];
        }
    };
}
